package com.neusoft.hifly.core.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Title: 核心类库
 * <p>
 * Description: springboot引入外部xml配置文件
 * <p>
 * Copyright: 2019
 * <p>
 * Company: 东软汉枫
 *
 * @author lh_neu
 * @version 1.0.0
 */
@Component
public class SystemConfig {

	// 系统名称
	@Value("${info.app.name:null}")
	private String sysName;

	// 系统编码
	@Value("${spring.application.name:null}")
	private String sysCode;

	public String getSysName() {
		return sysName;
	}

	public void setSysName(final String sysName) {
		this.sysName = sysName;
	}

	public String getSysCode() {
		return sysCode;
	}

	public void setSysCode(final String sysCode) {
		this.sysCode = sysCode;
	}

}